package cn.lzh.service;

import cn.lzh.entity.Largefile;
import cn.lzh.mapper.LargefileMapper;
import cn.lzh.service.LargefileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LargefileServiceImpl implements LargefileService {
    @Autowired
    LargefileMapper largefileMapper;
    @Override
    public void addLargefile(Largefile largefile) {
        largefileMapper.addLargefile(largefile);
    }

    @Override
    public Largefile findById(String id) {
        return largefileMapper.findById(id);
    }

    @Override
    public int delete(String id) {
        return largefileMapper.delete(id);
    }
}
